#ifndef Date_H
#define Date_H

#include <QDialog>
#include <QtGui>
#include "ycapi.h"

namespace Ui {
    class Date;
}

class Date : public QDialog {
    Q_OBJECT
public:
    Date(QWidget *parent = 0);
    ~Date();
    void SetMainBacklight();
    Ycapi *ycapi;
    QTimer *timeTimer;

protected:
    void changeEvent(QEvent *e);

private:
    Ui::Date *ui;


private slots:
    void on_pushButton_2_clicked();
    void on_pushButton_clicked();
    void timeTimerUpdate();

    void on_close_clicked();
};

#endif // Date_H
